package com.zy.entity.sys;

import com.zy.entity.base.BaseEntity;
import com.zy.pojo.annotation.Comment;
import org.springframework.beans.factory.annotation.Autowired;

import javax.persistence.Table;

@Table(name = "sys_city")
public class City extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Comment("")
	private Integer nodeCode;
	@Comment("")
	private Integer parentNode;
	@Comment("")
	private Long parentId;
	@Comment("")
	private String city;
	@Comment("")
	private String spell;

	@Autowired
	private String areaName;

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getNodeCode() {
		return nodeCode;
	}

	public void setNodeCode(Integer nodeCode) {
		this.nodeCode = nodeCode;
	}

	public Integer getParentNode() {
		return parentNode;
	}

	public void setParentNode(Integer parentNode) {
		this.parentNode = parentNode;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getSpell() {
		return spell;
	}

	public void setSpell(String spell) {
		this.spell = spell;
	}
}